package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.domain.ShoppingCart;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {

    public R<List<ShoppingCart>> clientShoppingCartList(String token);

    public R<ShoppingCart> clientAddShoppingCart(ShoppingCart shoppingCart);

    public R<ShoppingCart> clientSubShoppingCart(ShoppingCart shoppingCart);

    public R<String> clientShoppingCartClean(String token);
}
